package rs.dalao.syc.index.service;/*
 *   @author:Casin
 *   @date:2023/8/4
 *   @code:
 */

import org.springframework.beans.factory.annotation.Autowired;
import rs.dalao.syc.index.dao.persist.repository.IEncRepository;
import rs.dalao.syc.index.pojo.vo.*;

import java.util.List;

public interface IEncyclopediaService {
    /**查找所有的科室名称并展示*/
    List<DepartmentVO> selectDep();

    /**根据科室id查询文章列表*/
    List<EncContentListVO> selectByDepId(Long depId);

    /**根据科室id查找其他医生信息*/
    List<EncOtherDocVO> getOtherDocByDep(Long depId);

    /**根据文章id查看详情页面*/
    List<EncDetailVO> selectByIdForDetail(Long articleId);

    /**找热门文章*/
    List<HotDetailVO> selectEncHotDetail(Long depId);
}
